[INFO] cloning repository https://github.com/jelaby/advent-of-code-2023-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelaby/advent-of-code-2023-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelaby%2Fadvent-of-code-2023-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelaby%2Fadvent-of-code-2023-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 679865f23e995c438b3f41ae532d3cf0edcf6d0b
[INFO] fixing jelaby/advent-of-code-2023-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelaby%2Fadvent-of-code-2023-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jelaby/advent-of-code-2023-rs
[INFO] finished tweaking git repo https://github.com/jelaby/advent-of-code-2023-rs
[INFO] tweaked toml for git repo https://github.com/jelaby/advent-of-code-2023-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jelaby/advent-of-code-2023-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jelaby/advent-of-code-2023-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64
[INFO] running `Command { std: "docker" "start" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling enum-map-derive v0.17.0
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking enum-map v2.7.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1274:13
[INFO] [stdout]      |
[INFO] [stdout] 1274 |             solutions_cache.clear();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1308:13
[INFO] [stdout]      |
[INFO] [stdout] 1308 |             solutions_cache.get(&key).map(|r| *r).unwrap_or_else(|| {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1310:17
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 solutions_cache.insert(key, r);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1274:13
[INFO] [stdout]      |
[INFO] [stdout] 1274 |             solutions_cache.clear();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1308:13
[INFO] [stdout]      |
[INFO] [stdout] 1308 |             solutions_cache.get(&key).map(|r| *r).unwrap_or_else(|| {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.96s
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1310:17
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 solutions_cache.insert(key, r);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LowerExp`
[INFO] [stdout]  --> src/main.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, LowerExp, Write};
[INFO] [stdout]   |                                           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enum_map`
[INFO] [stdout]   --> src/main.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 | use enum_map::{enum_map, Enum, EnumMap};
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/main.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 308 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LowerExp`
[INFO] [stdout]  --> src/main.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, LowerExp, Write};
[INFO] [stdout]   |                                           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enum_map`
[INFO] [stdout]   --> src/main.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 | use enum_map::{enum_map, Enum, EnumMap};
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/main.rs:308:5
[INFO] [stdout]     |
[INFO] [stdout] 308 |     while true {
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, LowerExp, Write};
[INFO] [stdout]   |                                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, LowerExp, Write};
[INFO] [stdout]   |                                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `t` is never read
[INFO] [stdout]    --> src/main.rs:550:17
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let mut t = Type::SEED;
[INFO] [stdout]     |                 ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 555 |     t = map.target;
[INFO] [stdout]     |     -------------- `t` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `t` is never read
[INFO] [stdout]    --> src/main.rs:550:17
[INFO] [stdout]     |
[INFO] [stdout] 550 |     let mut t = Type::SEED;
[INFO] [stdout]     |                 ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 555 |     t = map.target;
[INFO] [stdout]     |     -------------- `t` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/main.rs:722:59
[INFO] [stdout]     |
[INFO] [stdout] 722 |                     let value = n.parse::<u64>().or_else(|n| Err(ParseError))?;
[INFO] [stdout]     |                                                           ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/main.rs:722:59
[INFO] [stdout]     |
[INFO] [stdout] 722 |                     let value = n.parse::<u64>().or_else(|n| Err(ParseError))?;
[INFO] [stdout]     |                                                           ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:759:21
[INFO] [stdout]     |
[INFO] [stdout] 759 |                 (5, card) => HandType::FiveOfAKind,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:760:21
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 (4, card) => HandType::FourOfAKind,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:761:21
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 (3, card) => {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:768:21
[INFO] [stdout]     |
[INFO] [stdout] 768 |                 (2, card) => {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:775:21
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 (1, card) => HandType::High,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:759:21
[INFO] [stdout]     |
[INFO] [stdout] 759 |                 (5, card) => HandType::FiveOfAKind,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:760:21
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 (4, card) => HandType::FourOfAKind,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:761:21
[INFO] [stdout]     |
[INFO] [stdout] 761 |                 (3, card) => {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:768:21
[INFO] [stdout]     |
[INFO] [stdout] 768 |                 (2, card) => {
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/main.rs:775:21
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 (1, card) => HandType::High,
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]     --> src/main.rs:1082:13
[INFO] [stdout]      |
[INFO] [stdout] 1082 |         for col in 0..p.1 {
[INFO] [stdout]      |             ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]     --> src/main.rs:1082:13
[INFO] [stdout]      |
[INFO] [stdout] 1082 |         for col in 0..p.1 {
[INFO] [stdout]      |             ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1429:16
[INFO] [stdout]      |
[INFO] [stdout] 1429 |         .map(|(i, (records, broken_regions))| find_solutions(&records, &broken_regions))
[INFO] [stdout]      |                ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1429:16
[INFO] [stdout]      |
[INFO] [stdout] 1429 |         .map(|(i, (records, broken_regions))| find_solutions(&records, &broken_regions))
[INFO] [stdout]      |                ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_fill` is never used
[INFO] [stdout]     --> src/main.rs:1076:8
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     fn print_fill(map: &Vec<Vec<char>>, is_inside: &Vec<Vec<bool>>, p: &(i64, i64)) {
[INFO] [stdout]      |        ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_fill` is never used
[INFO] [stdout]     --> src/main.rs:1076:8
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     fn print_fill(map: &Vec<Vec<char>>, is_inside: &Vec<Vec<bool>>, p: &(i64, i64)) {
[INFO] [stdout]      |        ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1274:13
[INFO] [stdout]      |
[INFO] [stdout] 1274 |             solutions_cache.clear();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1274:13
[INFO] [stdout]      |
[INFO] [stdout] 1274 |             solutions_cache.clear();
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `solutions_cache` should have an upper case name
[INFO] [stdout]     --> src/main.rs:1284:16
[INFO] [stdout]      |
[INFO] [stdout] 1284 |     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static mut SOLUTIONS_CACHE : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `solutions_cache` should have an upper case name
[INFO] [stdout]     --> src/main.rs:1284:16
[INFO] [stdout]      |
[INFO] [stdout] 1284 |     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |                ^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static mut SOLUTIONS_CACHE : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1308:13
[INFO] [stdout]      |
[INFO] [stdout] 1308 |             solutions_cache.get(&key).map(|r| *r).unwrap_or_else(|| {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1308:13
[INFO] [stdout]      |
[INFO] [stdout] 1308 |             solutions_cache.get(&key).map(|r| *r).unwrap_or_else(|| {
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1310:17
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 solutions_cache.insert(key, r);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]     --> src/main.rs:1310:17
[INFO] [stdout]      |
[INFO] [stdout] 1310 |                 solutions_cache.insert(key, r);
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]      |
[INFO] [stdout] 1284 -     static mut solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 1284 +     static solutions_cache : Lazy<HashMap<CacheKey, usize>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023" test) due to 3 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023") due to 3 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64", kill_on_drop: false }`
[INFO] [stdout] 0fadbf588844f236eede31256696452686b629ceba61bdbb1d3e49f9d81eef64
